import Vue from 'vue'
import App from './App'
import router from './router'
import store from './store/'
import Element from 'element-ui'
import 'element-ui/lib/theme-chalk/index.css';
import { commonMethods } from './utils/common';
import hasPermi from '@/utils/permission'

Vue.directive('hasPermi', hasPermi)

Vue.config.productionTip = false;
Vue.prototype.$common = commonMethods;

Vue.use(Element)

new Vue({
	el: '#app',
	router,
	store,
	template: '<App/>',
	components: { App }
})
